wpforo\modules\reactions\Reactions D

Total Complexity 128
Dependencies 3
Dependents 4
Total lines 553
Lines of code 388
Logical lines of code 254
Comment lines 91
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
filter_reactions()
B
40 23 62
build_sql_wheres()
A
53 13 17
decode_item()
A
59 10 13
delete()
S
55 8 15
get_post_reactions_and_cache()
S
57 6 16
_get_reaction()
S
59 6 12
build_sql_select()
S
59 6 11
edit()
S
56 5 18
create_reaction_cache()
S
63 6 9
get_reaction_cache()
S
61 5 11
add()
S
57 3 18
init_defaults()
S
48 1 40
get_user_reaction()
S
66 3 8
_get_count()
S
67 3 7
decode()
S
60 2 12
get_types()
S
54 1 21
delete_for_all_active_boards()
S
77 2 3
edit_for_all_active_boards()
S
77 2 3
get_likes_for_topic()
S
65 2 9
is_reacted()
S
68 2 6
_get_reactions_col()
S
70 2 5
get_sum()
S
73 2 4
get_post_reactions_user_dnames()
S
61 1 14
parse_args()
S
62 1 12
get_user_reaction_reaction()
S
75 1 4
get_post_reactions_count()
S
78 1 3
__construct()
S
78 1 4
get_received_reactions_count()
S
78 1 3
get_reacted_count()
S
78 1 3
get_count()
S
78 1 3
get_reactions_col()
S
77 1 3
get_reactions()
S
78 1 3
init_classes()
S
76 1 4
get_reaction()
S
78 1 3
encode()
S
80 1 3
get_type_list()
S
80 1 3
_get_reactions()
S
76 1 3